Skip to content

Improved AMSMessage creation by using memcpy (#105)#106

Merged
koparasy merged 1 commit intodevelopfrom
feature/faster-encode-amsmessage
Mar 13, 2025
Merged

Improved AMSMessage creation by using memcpy (#105)#106
koparasy merged 1 commit intodevelopfrom
feature/faster-encode-amsmessage

Conversation

@lpottier
Copy link
Member

@lpottier lpottier commented Mar 13, 2025

Fixes #105

  • Improved AMSMessage creation by using memcpy
  • The data must be transposed on the stager side
  • Improved RMQ test to check for data integrity

I have added a caliper call to estimate the time spent doing construction of AMSMessage. I can remove it.

Based on a few tests, this optimization brings a 1.75-2x speedup on the step measuring the time spent creating AMSMessage

Signed-off-by: Loic Pottier <pottier1@llnl.gov>
@lpottier lpottier requested a review from koparasy March 13, 2025 04:34
Copy link
Member

@koparasy koparasy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, after you fix failing tests I will merge it in.

@koparasy
Copy link
Member

Tests failed cause of NFS issues on our clusters. I restarted them and they went through.

@koparasy koparasy merged commit 9549683 into develop Mar 13, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Performance optimization on RMQ

2 participants